//
//  Notification+Names.swift
//  TTCOM-iOS
//
//  Created by Toj on 8/28/23.
//

import Foundation

// MARK: - 登录注册
/** 登录注册
 * registerFinishedNotification: 注册结果
 * loginSuccessNotification: 登录结果
 * loginFinishedNotification: 登录过程
 **/
public extension Notification.Name {
    // 注册完成: 只是注册过程完成, 不代表登录成功/ 完成
    static let registerFinishedNotification = Notification.Name("registerFinishedNotification")
    // 登录成功: 不代表登录完成, 只是登录接口回调成功而已
    static let loginSuccessNotification = Notification.Name("registerFinishedNotification")
    // 登录完成: 登录过程完成, 一般指登录必要接口的最后一个api回调后结果
    static let loginFinishedNotification = Notification.Name("registerFinishedNotification")
}

// MARK: - Player
public extension Notification.Name {
    // 激励奖励领取成功
    static let rewardADFinished = Notification.Name("STRewardADFinished")
}

// MARK: - DVB 服务
public extension Notification.Name {
    // DVB 绑卡成功
    static let serviceDidLinkedCard = Notification.Name("STDVBServiceDidLinkedCard")
    // DVB 解绑成功
    static let serviceDidUnlinkCard = Notification.Name("STDVBServiceDidUnlinkCard")
    
    // DVB 换包成功
    static let serviceDidChangeBouquet = Notification.Name("STDVBServiceDidChangeBouquet")
    // DVB 换包成功
    static let serviceDidRecharged = Notification.Name("STDVBServiceDidRecharged")
}
